
public class ClientWorkLoad2 extends Client {
	// The last row in TPCH specification
	private static int []queries = new int [] {13, 15, 17, 1, 22, 11, 3, 4, 7, 20, 14, 21, 9, 8, 2, 18, 16, 6, 10, 12, 5, 19};
	
	public ClientWorkLoad2(int iterations, int clientID) {
		super(iterations, clientID);
	}
	
	public void run() {
		
		for(int i=0; i<iterations; i++) {
			for(int j=0; j<queries.length; j++) {
				RunQuery("I" + i + "-" + "Q" + queries[j], QueryGenerator.Q(queries[j]));
			}
		}
		
		DB.Disconnect(connection);
	}
}
